---
title: "Get"
"og:title": "dub.metatags.get - Retrieve the metatags for a URL - TypeScript SDK"
description: "Retrieve the metatags for a URL."
---

## Arguments

<ParamField body="url" type="string" required>
  The URL to retrieve metatags for.
</ParamField>

## Response

<ResponseField name="title" type="string | null" required>
  The meta title tag for the URL.
</ResponseField>

<ResponseField name="id" type="string | null" required>
  The meta description tag for the URL.
</ResponseField>

<ResponseField name="id" type="string | null" required>
  The OpenGraph image for the URL.
</ResponseField>

<RequestExample>

```ts
await dub.metatags.get({
  url: "https://dub.co",
});
```

</RequestExample>

<ResponseExample>

```ts
{
  title: 'Dub.co - Link Management for Modern Marketing Teams',
  description: 'Dub.co is the open-source link management infrastructure ...',
  image: 'https://assets.dub.co/thumbnail.jpg'
}
```

</ResponseExample>
